package com.gitee.limaozhi.socket.lesson03.example1;

/**
 * 分隔符
 *
 * @author hzlimaozhi
 * @date 2019/08/23 17:41
 */
public class LineDelimiterEncoder {

    private static final char DELIMITER = '\n';

    public static byte[] encode(String text) {
        return (text + DELIMITER).getBytes();
    }

}
